namespace NavigateExample.Services.Dialog
{
    /// <summary>
    /// 对话框结果接口
    /// </summary>
    public interface IDialogResult
    {
        /// <summary>
        /// 对话框结果（OK、Cancel等）
        /// </summary>
        ButtonResult Result { get; }

        /// <summary>
        /// 返回的参数
        /// </summary>
        DialogParameters Parameters { get; }
    }

    /// <summary>
    /// 对话框按钮结果枚举
    /// </summary>
    public enum ButtonResult
    {
        None,
        OK,
        Cancel,
        Yes,
        No,
        Retry,
        Ignore,
        Abort
    }
    
}